package com.ssn.decorator.encryption;

public class ReverseEncryption extends Decorator{
    ReverseEncryption(BasicEncryption basicEncryption) {
        super(basicEncryption);
    }
    public void encrypt(){
        super.encrypt();
        reverseEncrypt();
    }
    private void reverseEncrypt(){
        System.out.println("do reverse Encrypt");
    }
}
